apply Asset Source Asset
Applies an asset to the active scene using custom AssetSource.applyAsset function.
Return
the newly created block or null if no new block is created.
Parameters
the sourceId of AssetSource which AssetSource.applyAsset function is going to be invoked.
the asset to be applied to the active scene. Normally it's a single result of a findAssets query.
Applies an asset to the active scene at the given placement. An asset source with a custom AssetSource.applyAsset function ignores the placement.
Return
the newly created block or null if no new block is created.
Parameters
the sourceId of AssetSource which AssetSource.applyAsset function is going to be invoked.
the asset to be applied to the active scene. Normally it's a single result of a findAssets query.
the parent block and the center position for the new block.
Applies an asset to the block using custom AssetSource.applyAsset function.
Parameters
the sourceId of AssetSource which AssetSource.applyAsset function is going to be invoked.
the asset that will be applied to the existing block. Normally it's a single result of a findAssets query.
the block that will be modified by the asset.